package org.mindrive.system.parameter.system;

import javax.validation.constraints.NotEmpty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "角色", description = "角色")
public class RoleParameter {

	@ApiModelProperty(value = "角色名称")
	@NotEmpty(message = "角色名称不能为空")
	private String name = "";
	
	private String workspaceId = "";

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getWorkspaceId() {
		return workspaceId;
	}

	public void setWorkspaceId(String workspaceId) {
		this.workspaceId = workspaceId;
	}

}
